#include <stdlib.h>
#include  <stdio.h>
#include <unistd.h>


static void my_exit1(void)
{
	printf("my_exit1\n");
}
int main(int argc,char* argv[])
{
	atexit(my_exit1);
	printf("hello\n");
	for(int i=0;i<argc;i++)
	{
		printf("%d:%s\n", i, argv[i]);
	}
	
	int* a = (int*)malloc(sizeof(a));
	*a = 100;
	printf("%d\n",*a);
	
	char* strHome = getenv("HOME");
	printf("%s\n", strHome);

	return 0;
}
